/*
 *
 * Copyright (C) 2021 BigfootACA <bigfoot@classfun.cn>
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 *
 */

#undef EV_SYN
#undef EV_KEY
#undef EV_REL
#undef EV_ABS
#undef EV_MSC
#undef EV_SW
#undef EV_LED
#undef EV_SND
#undef EV_REP
#undef EV_FF
#undef EV_PWR
#undef EV_FF_STATUS
#define EV_SYN 0x00
#define EV_KEY 0x01
#define EV_REL 0x02
#define EV_ABS 0x03
#define EV_MSC 0x04
#define EV_SW 0x05
#define EV_LED 0x11
#define EV_SND 0x12
#define EV_REP 0x14
#define EV_FF 0x15
#define EV_PWR 0x16
#define EV_FF_STATUS 0x17

DECL_TYPE("EV_SYN",0x00)
DECL_TYPE("EV_KEY",0x01)
DECL_TYPE("EV_REL",0x02)
DECL_TYPE("EV_ABS",0x03)
DECL_TYPE("EV_MSC",0x04)
DECL_TYPE("EV_SW",0x05)
DECL_TYPE("EV_LED",0x11)
DECL_TYPE("EV_SND",0x12)
DECL_TYPE("EV_REP",0x14)
DECL_TYPE("EV_FF",0x15)
DECL_TYPE("EV_PWR",0x16)
DECL_TYPE("EV_FF_STATUS",0x17)

DECL_INPUT(EV_SYN,"SYN_REPORT",0)
DECL_INPUT(EV_SYN,"SYN_CONFIG",1)
DECL_INPUT(EV_SYN,"SYN_MT_REPORT",2)
DECL_INPUT(EV_SYN,"SYN_DROPPED",3)

DECL_INPUT(EV_KEY,"KEY_RESERVED",0)
DECL_INPUT(EV_KEY,"KEY_ESC",1)
DECL_INPUT(EV_KEY,"KEY_1",2)
DECL_INPUT(EV_KEY,"KEY_2",3)
DECL_INPUT(EV_KEY,"KEY_3",4)
DECL_INPUT(EV_KEY,"KEY_4",5)
DECL_INPUT(EV_KEY,"KEY_5",6)
DECL_INPUT(EV_KEY,"KEY_6",7)
DECL_INPUT(EV_KEY,"KEY_7",8)
DECL_INPUT(EV_KEY,"KEY_8",9)
DECL_INPUT(EV_KEY,"KEY_9",10)
DECL_INPUT(EV_KEY,"KEY_0",11)
DECL_INPUT(EV_KEY,"KEY_MINUS",12)
DECL_INPUT(EV_KEY,"KEY_EQUAL",13)
DECL_INPUT(EV_KEY,"KEY_BACKSPACE",14)
DECL_INPUT(EV_KEY,"KEY_TAB",15)
DECL_INPUT(EV_KEY,"KEY_Q",16)
DECL_INPUT(EV_KEY,"KEY_W",17)
DECL_INPUT(EV_KEY,"KEY_E",18)
DECL_INPUT(EV_KEY,"KEY_R",19)
DECL_INPUT(EV_KEY,"KEY_T",20)
DECL_INPUT(EV_KEY,"KEY_Y",21)
DECL_INPUT(EV_KEY,"KEY_U",22)
DECL_INPUT(EV_KEY,"KEY_I",23)
DECL_INPUT(EV_KEY,"KEY_O",24)
DECL_INPUT(EV_KEY,"KEY_P",25)
DECL_INPUT(EV_KEY,"KEY_LEFTBRACE",26)
DECL_INPUT(EV_KEY,"KEY_RIGHTBRACE",27)
DECL_INPUT(EV_KEY,"KEY_ENTER",28)
DECL_INPUT(EV_KEY,"KEY_LEFTCTRL",29)
DECL_INPUT(EV_KEY,"KEY_A",30)
DECL_INPUT(EV_KEY,"KEY_S",31)
DECL_INPUT(EV_KEY,"KEY_D",32)
DECL_INPUT(EV_KEY,"KEY_F",33)
DECL_INPUT(EV_KEY,"KEY_G",34)
DECL_INPUT(EV_KEY,"KEY_H",35)
DECL_INPUT(EV_KEY,"KEY_J",36)
DECL_INPUT(EV_KEY,"KEY_K",37)
DECL_INPUT(EV_KEY,"KEY_L",38)
DECL_INPUT(EV_KEY,"KEY_SEMICOLON",39)
DECL_INPUT(EV_KEY,"KEY_APOSTROPHE",40)
DECL_INPUT(EV_KEY,"KEY_GRAVE",41)
DECL_INPUT(EV_KEY,"KEY_LEFTSHIFT",42)
DECL_INPUT(EV_KEY,"KEY_BACKSLASH",43)
DECL_INPUT(EV_KEY,"KEY_Z",44)
DECL_INPUT(EV_KEY,"KEY_X",45)
DECL_INPUT(EV_KEY,"KEY_C",46)
DECL_INPUT(EV_KEY,"KEY_V",47)
DECL_INPUT(EV_KEY,"KEY_B",48)
DECL_INPUT(EV_KEY,"KEY_N",49)
DECL_INPUT(EV_KEY,"KEY_M",50)
DECL_INPUT(EV_KEY,"KEY_COMMA",51)
DECL_INPUT(EV_KEY,"KEY_DOT",52)
DECL_INPUT(EV_KEY,"KEY_SLASH",53)
DECL_INPUT(EV_KEY,"KEY_RIGHTSHIFT",54)
DECL_INPUT(EV_KEY,"KEY_KPASTERISK",55)
DECL_INPUT(EV_KEY,"KEY_LEFTALT",56)
DECL_INPUT(EV_KEY,"KEY_SPACE",57)
DECL_INPUT(EV_KEY,"KEY_CAPSLOCK",58)
DECL_INPUT(EV_KEY,"KEY_F1",59)
DECL_INPUT(EV_KEY,"KEY_F2",60)
DECL_INPUT(EV_KEY,"KEY_F3",61)
DECL_INPUT(EV_KEY,"KEY_F4",62)
DECL_INPUT(EV_KEY,"KEY_F5",63)
DECL_INPUT(EV_KEY,"KEY_F6",64)
DECL_INPUT(EV_KEY,"KEY_F7",65)
DECL_INPUT(EV_KEY,"KEY_F8",66)
DECL_INPUT(EV_KEY,"KEY_F9",67)
DECL_INPUT(EV_KEY,"KEY_F10",68)
DECL_INPUT(EV_KEY,"KEY_NUMLOCK",69)
DECL_INPUT(EV_KEY,"KEY_SCROLLLOCK",70)
DECL_INPUT(EV_KEY,"KEY_KP7",71)
DECL_INPUT(EV_KEY,"KEY_KP8",72)
DECL_INPUT(EV_KEY,"KEY_KP9",73)
DECL_INPUT(EV_KEY,"KEY_KPMINUS",74)
DECL_INPUT(EV_KEY,"KEY_KP4",75)
DECL_INPUT(EV_KEY,"KEY_KP5",76)
DECL_INPUT(EV_KEY,"KEY_KP6",77)
DECL_INPUT(EV_KEY,"KEY_KPPLUS",78)
DECL_INPUT(EV_KEY,"KEY_KP1",79)
DECL_INPUT(EV_KEY,"KEY_KP2",80)
DECL_INPUT(EV_KEY,"KEY_KP3",81)
DECL_INPUT(EV_KEY,"KEY_KP0",82)
DECL_INPUT(EV_KEY,"KEY_KPDOT",83)
DECL_INPUT(EV_KEY,"KEY_ZENKAKUHANKAKU",85)
DECL_INPUT(EV_KEY,"KEY_102ND",86)
DECL_INPUT(EV_KEY,"KEY_F11",87)
DECL_INPUT(EV_KEY,"KEY_F12",88)
DECL_INPUT(EV_KEY,"KEY_RO",89)
DECL_INPUT(EV_KEY,"KEY_KATAKANA",90)
DECL_INPUT(EV_KEY,"KEY_HIRAGANA",91)
DECL_INPUT(EV_KEY,"KEY_HENKAN",92)
DECL_INPUT(EV_KEY,"KEY_KATAKANAHIRAGANA",93)
DECL_INPUT(EV_KEY,"KEY_MUHENKAN",94)
DECL_INPUT(EV_KEY,"KEY_KPJPCOMMA",95)
DECL_INPUT(EV_KEY,"KEY_KPENTER",96)
DECL_INPUT(EV_KEY,"KEY_RIGHTCTRL",97)
DECL_INPUT(EV_KEY,"KEY_KPSLASH",98)
DECL_INPUT(EV_KEY,"KEY_SYSRQ",99)
DECL_INPUT(EV_KEY,"KEY_RIGHTALT",100)
DECL_INPUT(EV_KEY,"KEY_LINEFEED",101)
DECL_INPUT(EV_KEY,"KEY_HOME",102)
DECL_INPUT(EV_KEY,"KEY_UP",103)
DECL_INPUT(EV_KEY,"KEY_PAGEUP",104)
DECL_INPUT(EV_KEY,"KEY_LEFT",105)
DECL_INPUT(EV_KEY,"KEY_RIGHT",106)
DECL_INPUT(EV_KEY,"KEY_END",107)
DECL_INPUT(EV_KEY,"KEY_DOWN",108)
DECL_INPUT(EV_KEY,"KEY_PAGEDOWN",109)
DECL_INPUT(EV_KEY,"KEY_INSERT",110)
DECL_INPUT(EV_KEY,"KEY_DELETE",111)
DECL_INPUT(EV_KEY,"KEY_MACRO",112)
DECL_INPUT(EV_KEY,"KEY_MUTE",113)
DECL_INPUT(EV_KEY,"KEY_VOLUMEDOWN",114)
DECL_INPUT(EV_KEY,"KEY_VOLUMEUP",115)
DECL_INPUT(EV_KEY,"KEY_POWER",116)
DECL_INPUT(EV_KEY,"KEY_KPEQUAL",117)
DECL_INPUT(EV_KEY,"KEY_KPPLUSMINUS",118)
DECL_INPUT(EV_KEY,"KEY_PAUSE",119)
DECL_INPUT(EV_KEY,"KEY_SCALE",120)
DECL_INPUT(EV_KEY,"KEY_KPCOMMA",121)
DECL_INPUT(EV_KEY,"KEY_HANGEUL",122)
DECL_INPUT(EV_KEY,"KEY_HANGUEL",122)
DECL_INPUT(EV_KEY,"KEY_HANJA",123)
DECL_INPUT(EV_KEY,"KEY_YEN",124)
DECL_INPUT(EV_KEY,"KEY_LEFTMETA",125)
DECL_INPUT(EV_KEY,"KEY_RIGHTMETA",126)
DECL_INPUT(EV_KEY,"KEY_COMPOSE",127)
DECL_INPUT(EV_KEY,"KEY_STOP",128)
DECL_INPUT(EV_KEY,"KEY_AGAIN",129)
DECL_INPUT(EV_KEY,"KEY_PROPS",130)
DECL_INPUT(EV_KEY,"KEY_UNDO",131)
DECL_INPUT(EV_KEY,"KEY_FRONT",132)
DECL_INPUT(EV_KEY,"KEY_COPY",133)
DECL_INPUT(EV_KEY,"KEY_OPEN",134)
DECL_INPUT(EV_KEY,"KEY_PASTE",135)
DECL_INPUT(EV_KEY,"KEY_FIND",136)
DECL_INPUT(EV_KEY,"KEY_CUT",137)
DECL_INPUT(EV_KEY,"KEY_HELP",138)
DECL_INPUT(EV_KEY,"KEY_MENU",139)
DECL_INPUT(EV_KEY,"KEY_CALC",140)
DECL_INPUT(EV_KEY,"KEY_SETUP",141)
DECL_INPUT(EV_KEY,"KEY_SLEEP",142)
DECL_INPUT(EV_KEY,"KEY_WAKEUP",143)
DECL_INPUT(EV_KEY,"KEY_FILE",144)
DECL_INPUT(EV_KEY,"KEY_SENDFILE",145)
DECL_INPUT(EV_KEY,"KEY_DELETEFILE",146)
DECL_INPUT(EV_KEY,"KEY_XFER",147)
DECL_INPUT(EV_KEY,"KEY_PROG1",148)
DECL_INPUT(EV_KEY,"KEY_PROG2",149)
DECL_INPUT(EV_KEY,"KEY_WWW",150)
DECL_INPUT(EV_KEY,"KEY_MSDOS",151)
DECL_INPUT(EV_KEY,"KEY_SCREENLOCK",152)
DECL_INPUT(EV_KEY,"KEY_COFFEE",152)
DECL_INPUT(EV_KEY,"KEY_ROTATE_DISPLAY",153)
DECL_INPUT(EV_KEY,"KEY_DIRECTION",153)
DECL_INPUT(EV_KEY,"KEY_CYCLEWINDOWS",154)
DECL_INPUT(EV_KEY,"KEY_MAIL",155)
DECL_INPUT(EV_KEY,"KEY_BOOKMARKS",156)
DECL_INPUT(EV_KEY,"KEY_COMPUTER",157)
DECL_INPUT(EV_KEY,"KEY_BACK",158)
DECL_INPUT(EV_KEY,"KEY_FORWARD",159)
DECL_INPUT(EV_KEY,"KEY_CLOSECD",160)
DECL_INPUT(EV_KEY,"KEY_EJECTCD",161)
DECL_INPUT(EV_KEY,"KEY_EJECTCLOSECD",162)
DECL_INPUT(EV_KEY,"KEY_NEXTSONG",163)
DECL_INPUT(EV_KEY,"KEY_PLAYPAUSE",164)
DECL_INPUT(EV_KEY,"KEY_PREVIOUSSONG",165)
DECL_INPUT(EV_KEY,"KEY_STOPCD",166)
DECL_INPUT(EV_KEY,"KEY_RECORD",167)
DECL_INPUT(EV_KEY,"KEY_REWIND",168)
DECL_INPUT(EV_KEY,"KEY_PHONE",169)
DECL_INPUT(EV_KEY,"KEY_ISO",170)
DECL_INPUT(EV_KEY,"KEY_CONFIG",171)
DECL_INPUT(EV_KEY,"KEY_HOMEPAGE",172)
DECL_INPUT(EV_KEY,"KEY_REFRESH",173)
DECL_INPUT(EV_KEY,"KEY_EXIT",174)
DECL_INPUT(EV_KEY,"KEY_MOVE",175)
DECL_INPUT(EV_KEY,"KEY_EDIT",176)
DECL_INPUT(EV_KEY,"KEY_SCROLLUP",177)
DECL_INPUT(EV_KEY,"KEY_SCROLLDOWN",178)
DECL_INPUT(EV_KEY,"KEY_KPLEFTPAREN",179)
DECL_INPUT(EV_KEY,"KEY_KPRIGHTPAREN",180)
DECL_INPUT(EV_KEY,"KEY_NEW",181)
DECL_INPUT(EV_KEY,"KEY_REDO",182)
DECL_INPUT(EV_KEY,"KEY_F13",183)
DECL_INPUT(EV_KEY,"KEY_F14",184)
DECL_INPUT(EV_KEY,"KEY_F15",185)
DECL_INPUT(EV_KEY,"KEY_F16",186)
DECL_INPUT(EV_KEY,"KEY_F17",187)
DECL_INPUT(EV_KEY,"KEY_F18",188)
DECL_INPUT(EV_KEY,"KEY_F19",189)
DECL_INPUT(EV_KEY,"KEY_F20",190)
DECL_INPUT(EV_KEY,"KEY_F21",191)
DECL_INPUT(EV_KEY,"KEY_F22",192)
DECL_INPUT(EV_KEY,"KEY_F23",193)
DECL_INPUT(EV_KEY,"KEY_F24",194)
DECL_INPUT(EV_KEY,"KEY_PLAYCD",200)
DECL_INPUT(EV_KEY,"KEY_PAUSECD",201)
DECL_INPUT(EV_KEY,"KEY_PROG3",202)
DECL_INPUT(EV_KEY,"KEY_PROG4",203)
DECL_INPUT(EV_KEY,"KEY_ALL_APPLICATIONS",204)
DECL_INPUT(EV_KEY,"KEY_DASHBOARD",204)
DECL_INPUT(EV_KEY,"KEY_SUSPEND",205)
DECL_INPUT(EV_KEY,"KEY_CLOSE",206)
DECL_INPUT(EV_KEY,"KEY_PLAY",207)
DECL_INPUT(EV_KEY,"KEY_FASTFORWARD",208)
DECL_INPUT(EV_KEY,"KEY_BASSBOOST",209)
DECL_INPUT(EV_KEY,"KEY_PRINT",210)
DECL_INPUT(EV_KEY,"KEY_HP",211)
DECL_INPUT(EV_KEY,"KEY_CAMERA",212)
DECL_INPUT(EV_KEY,"KEY_SOUND",213)
DECL_INPUT(EV_KEY,"KEY_QUESTION",214)
DECL_INPUT(EV_KEY,"KEY_EMAIL",215)
DECL_INPUT(EV_KEY,"KEY_CHAT",216)
DECL_INPUT(EV_KEY,"KEY_SEARCH",217)
DECL_INPUT(EV_KEY,"KEY_CONNECT",218)
DECL_INPUT(EV_KEY,"KEY_FINANCE",219)
DECL_INPUT(EV_KEY,"KEY_SPORT",220)
DECL_INPUT(EV_KEY,"KEY_SHOP",221)
DECL_INPUT(EV_KEY,"KEY_ALTERASE",222)
DECL_INPUT(EV_KEY,"KEY_CANCEL",223)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESSDOWN",224)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESSUP",225)
DECL_INPUT(EV_KEY,"KEY_MEDIA",226)
DECL_INPUT(EV_KEY,"KEY_SWITCHVIDEOMODE",227)
DECL_INPUT(EV_KEY,"KEY_KBDILLUMTOGGLE",228)
DECL_INPUT(EV_KEY,"KEY_KBDILLUMDOWN",229)
DECL_INPUT(EV_KEY,"KEY_KBDILLUMUP",230)
DECL_INPUT(EV_KEY,"KEY_SEND",231)
DECL_INPUT(EV_KEY,"KEY_REPLY",232)
DECL_INPUT(EV_KEY,"KEY_FORWARDMAIL",233)
DECL_INPUT(EV_KEY,"KEY_SAVE",234)
DECL_INPUT(EV_KEY,"KEY_DOCUMENTS",235)
DECL_INPUT(EV_KEY,"KEY_BATTERY",236)
DECL_INPUT(EV_KEY,"KEY_BLUETOOTH",237)
DECL_INPUT(EV_KEY,"KEY_WLAN",238)
DECL_INPUT(EV_KEY,"KEY_UWB",239)
DECL_INPUT(EV_KEY,"KEY_UNKNOWN",240)
DECL_INPUT(EV_KEY,"KEY_VIDEO_NEXT",241)
DECL_INPUT(EV_KEY,"KEY_VIDEO_PREV",242)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESS_CYCLE",243)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESS_AUTO",244)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESS_ZERO",244)
DECL_INPUT(EV_KEY,"KEY_DISPLAY_OFF",245)
DECL_INPUT(EV_KEY,"KEY_WWAN",246)
DECL_INPUT(EV_KEY,"KEY_WIMAX",246)
DECL_INPUT(EV_KEY,"KEY_RFKILL",247)
DECL_INPUT(EV_KEY,"KEY_MICMUTE",248)
DECL_INPUT(EV_KEY,"BTN_0",0x100)
DECL_INPUT(EV_KEY,"BTN_1",0x101)
DECL_INPUT(EV_KEY,"BTN_2",0x102)
DECL_INPUT(EV_KEY,"BTN_3",0x103)
DECL_INPUT(EV_KEY,"BTN_4",0x104)
DECL_INPUT(EV_KEY,"BTN_5",0x105)
DECL_INPUT(EV_KEY,"BTN_6",0x106)
DECL_INPUT(EV_KEY,"BTN_7",0x107)
DECL_INPUT(EV_KEY,"BTN_8",0x108)
DECL_INPUT(EV_KEY,"BTN_9",0x109)
DECL_INPUT(EV_KEY,"BTN_LEFT",0x110)
DECL_INPUT(EV_KEY,"BTN_RIGHT",0x111)
DECL_INPUT(EV_KEY,"BTN_MIDDLE",0x112)
DECL_INPUT(EV_KEY,"BTN_SIDE",0x113)
DECL_INPUT(EV_KEY,"BTN_EXTRA",0x114)
DECL_INPUT(EV_KEY,"BTN_FORWARD",0x115)
DECL_INPUT(EV_KEY,"BTN_BACK",0x116)
DECL_INPUT(EV_KEY,"BTN_TASK",0x117)
DECL_INPUT(EV_KEY,"BTN_TRIGGER",0x120)
DECL_INPUT(EV_KEY,"BTN_THUMB",0x121)
DECL_INPUT(EV_KEY,"BTN_THUMB2",0x122)
DECL_INPUT(EV_KEY,"BTN_TOP",0x123)
DECL_INPUT(EV_KEY,"BTN_TOP2",0x124)
DECL_INPUT(EV_KEY,"BTN_PINKIE",0x125)
DECL_INPUT(EV_KEY,"BTN_BASE",0x126)
DECL_INPUT(EV_KEY,"BTN_BASE2",0x127)
DECL_INPUT(EV_KEY,"BTN_BASE3",0x128)
DECL_INPUT(EV_KEY,"BTN_BASE4",0x129)
DECL_INPUT(EV_KEY,"BTN_BASE5",0x12a)
DECL_INPUT(EV_KEY,"BTN_BASE6",0x12b)
DECL_INPUT(EV_KEY,"BTN_DEAD",0x12f)
DECL_INPUT(EV_KEY,"BTN_SOUTH",0x130)
DECL_INPUT(EV_KEY,"BTN_A",0x130)
DECL_INPUT(EV_KEY,"BTN_EAST",0x131)
DECL_INPUT(EV_KEY,"BTN_B",0x131)
DECL_INPUT(EV_KEY,"BTN_C",0x132)
DECL_INPUT(EV_KEY,"BTN_NORTH",0x133)
DECL_INPUT(EV_KEY,"BTN_X",0x133)
DECL_INPUT(EV_KEY,"BTN_WEST",0x134)
DECL_INPUT(EV_KEY,"BTN_Y",0x134)
DECL_INPUT(EV_KEY,"BTN_Z",0x135)
DECL_INPUT(EV_KEY,"BTN_TL",0x136)
DECL_INPUT(EV_KEY,"BTN_TR",0x137)
DECL_INPUT(EV_KEY,"BTN_TL2",0x138)
DECL_INPUT(EV_KEY,"BTN_TR2",0x139)
DECL_INPUT(EV_KEY,"BTN_SELECT",0x13a)
DECL_INPUT(EV_KEY,"BTN_START",0x13b)
DECL_INPUT(EV_KEY,"BTN_MODE",0x13c)
DECL_INPUT(EV_KEY,"BTN_THUMBL",0x13d)
DECL_INPUT(EV_KEY,"BTN_THUMBR",0x13e)
DECL_INPUT(EV_KEY,"BTN_TOOL_PEN",0x140)
DECL_INPUT(EV_KEY,"BTN_TOOL_RUBBER",0x141)
DECL_INPUT(EV_KEY,"BTN_TOOL_BRUSH",0x142)
DECL_INPUT(EV_KEY,"BTN_TOOL_PENCIL",0x143)
DECL_INPUT(EV_KEY,"BTN_TOOL_AIRBRUSH",0x144)
DECL_INPUT(EV_KEY,"BTN_TOOL_FINGER",0x145)
DECL_INPUT(EV_KEY,"BTN_TOOL_MOUSE",0x146)
DECL_INPUT(EV_KEY,"BTN_TOOL_LENS",0x147)
DECL_INPUT(EV_KEY,"BTN_TOOL_QUINTTAP",0x148)
DECL_INPUT(EV_KEY,"BTN_STYLUS3",0x149)
DECL_INPUT(EV_KEY,"BTN_TOUCH",0x14a)
DECL_INPUT(EV_KEY,"BTN_STYLUS",0x14b)
DECL_INPUT(EV_KEY,"BTN_STYLUS2",0x14c)
DECL_INPUT(EV_KEY,"BTN_TOOL_DOUBLETAP",0x14d)
DECL_INPUT(EV_KEY,"BTN_TOOL_TRIPLETAP",0x14e)
DECL_INPUT(EV_KEY,"BTN_TOOL_QUADTAP",0x14f)
DECL_INPUT(EV_KEY,"BTN_GEAR_DOWN",0x150)
DECL_INPUT(EV_KEY,"BTN_GEAR_UP",0x151)
DECL_INPUT(EV_KEY,"KEY_OK",0x160)
DECL_INPUT(EV_KEY,"KEY_SELECT",0x161)
DECL_INPUT(EV_KEY,"KEY_GOTO",0x162)
DECL_INPUT(EV_KEY,"KEY_CLEAR",0x163)
DECL_INPUT(EV_KEY,"KEY_POWER2",0x164)
DECL_INPUT(EV_KEY,"KEY_OPTION",0x165)
DECL_INPUT(EV_KEY,"KEY_INFO",0x166)
DECL_INPUT(EV_KEY,"KEY_TIME",0x167)
DECL_INPUT(EV_KEY,"KEY_VENDOR",0x168)
DECL_INPUT(EV_KEY,"KEY_ARCHIVE",0x169)
DECL_INPUT(EV_KEY,"KEY_PROGRAM",0x16a)
DECL_INPUT(EV_KEY,"KEY_CHANNEL",0x16b)
DECL_INPUT(EV_KEY,"KEY_FAVORITES",0x16c)
DECL_INPUT(EV_KEY,"KEY_EPG",0x16d)
DECL_INPUT(EV_KEY,"KEY_PVR",0x16e)
DECL_INPUT(EV_KEY,"KEY_MHP",0x16f)
DECL_INPUT(EV_KEY,"KEY_LANGUAGE",0x170)
DECL_INPUT(EV_KEY,"KEY_TITLE",0x171)
DECL_INPUT(EV_KEY,"KEY_SUBTITLE",0x172)
DECL_INPUT(EV_KEY,"KEY_ANGLE",0x173)
DECL_INPUT(EV_KEY,"KEY_FULL_SCREEN",0x174)
DECL_INPUT(EV_KEY,"KEY_ZOOM",0x174)
DECL_INPUT(EV_KEY,"KEY_MODE",0x175)
DECL_INPUT(EV_KEY,"KEY_KEYBOARD",0x176)
DECL_INPUT(EV_KEY,"KEY_ASPECT_RATIO",0x177)
DECL_INPUT(EV_KEY,"KEY_SCREEN",0x177)
DECL_INPUT(EV_KEY,"KEY_PC",0x178)
DECL_INPUT(EV_KEY,"KEY_TV",0x179)
DECL_INPUT(EV_KEY,"KEY_TV2",0x17a)
DECL_INPUT(EV_KEY,"KEY_VCR",0x17b)
DECL_INPUT(EV_KEY,"KEY_VCR2",0x17c)
DECL_INPUT(EV_KEY,"KEY_SAT",0x17d)
DECL_INPUT(EV_KEY,"KEY_SAT2",0x17e)
DECL_INPUT(EV_KEY,"KEY_CD",0x17f)
DECL_INPUT(EV_KEY,"KEY_TAPE",0x180)
DECL_INPUT(EV_KEY,"KEY_RADIO",0x181)
DECL_INPUT(EV_KEY,"KEY_TUNER",0x182)
DECL_INPUT(EV_KEY,"KEY_PLAYER",0x183)
DECL_INPUT(EV_KEY,"KEY_TEXT",0x184)
DECL_INPUT(EV_KEY,"KEY_DVD",0x185)
DECL_INPUT(EV_KEY,"KEY_AUX",0x186)
DECL_INPUT(EV_KEY,"KEY_MP3",0x187)
DECL_INPUT(EV_KEY,"KEY_AUDIO",0x188)
DECL_INPUT(EV_KEY,"KEY_VIDEO",0x189)
DECL_INPUT(EV_KEY,"KEY_DIRECTORY",0x18a)
DECL_INPUT(EV_KEY,"KEY_LIST",0x18b)
DECL_INPUT(EV_KEY,"KEY_MEMO",0x18c)
DECL_INPUT(EV_KEY,"KEY_CALENDAR",0x18d)
DECL_INPUT(EV_KEY,"KEY_RED",0x18e)
DECL_INPUT(EV_KEY,"KEY_GREEN",0x18f)
DECL_INPUT(EV_KEY,"KEY_YELLOW",0x190)
DECL_INPUT(EV_KEY,"KEY_BLUE",0x191)
DECL_INPUT(EV_KEY,"KEY_CHANNELUP",0x192)
DECL_INPUT(EV_KEY,"KEY_CHANNELDOWN",0x193)
DECL_INPUT(EV_KEY,"KEY_FIRST",0x194)
DECL_INPUT(EV_KEY,"KEY_LAST",0x195)
DECL_INPUT(EV_KEY,"KEY_AB",0x196)
DECL_INPUT(EV_KEY,"KEY_NEXT",0x197)
DECL_INPUT(EV_KEY,"KEY_RESTART",0x198)
DECL_INPUT(EV_KEY,"KEY_SLOW",0x199)
DECL_INPUT(EV_KEY,"KEY_SHUFFLE",0x19a)
DECL_INPUT(EV_KEY,"KEY_BREAK",0x19b)
DECL_INPUT(EV_KEY,"KEY_PREVIOUS",0x19c)
DECL_INPUT(EV_KEY,"KEY_DIGITS",0x19d)
DECL_INPUT(EV_KEY,"KEY_TEEN",0x19e)
DECL_INPUT(EV_KEY,"KEY_TWEN",0x19f)
DECL_INPUT(EV_KEY,"KEY_VIDEOPHONE",0x1a0)
DECL_INPUT(EV_KEY,"KEY_GAMES",0x1a1)
DECL_INPUT(EV_KEY,"KEY_ZOOMIN",0x1a2)
DECL_INPUT(EV_KEY,"KEY_ZOOMOUT",0x1a3)
DECL_INPUT(EV_KEY,"KEY_ZOOMRESET",0x1a4)
DECL_INPUT(EV_KEY,"KEY_WORDPROCESSOR",0x1a5)
DECL_INPUT(EV_KEY,"KEY_EDITOR",0x1a6)
DECL_INPUT(EV_KEY,"KEY_SPREADSHEET",0x1a7)
DECL_INPUT(EV_KEY,"KEY_GRAPHICSEDITOR",0x1a8)
DECL_INPUT(EV_KEY,"KEY_PRESENTATION",0x1a9)
DECL_INPUT(EV_KEY,"KEY_DATABASE",0x1aa)
DECL_INPUT(EV_KEY,"KEY_NEWS",0x1ab)
DECL_INPUT(EV_KEY,"KEY_VOICEMAIL",0x1ac)
DECL_INPUT(EV_KEY,"KEY_ADDRESSBOOK",0x1ad)
DECL_INPUT(EV_KEY,"KEY_MESSENGER",0x1ae)
DECL_INPUT(EV_KEY,"KEY_DISPLAYTOGGLE",0x1af)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESS_TOGGLE",0x1af)
DECL_INPUT(EV_KEY,"KEY_SPELLCHECK",0x1b0)
DECL_INPUT(EV_KEY,"KEY_LOGOFF",0x1b1)
DECL_INPUT(EV_KEY,"KEY_DOLLAR",0x1b2)
DECL_INPUT(EV_KEY,"KEY_EURO",0x1b3)
DECL_INPUT(EV_KEY,"KEY_FRAMEBACK",0x1b4)
DECL_INPUT(EV_KEY,"KEY_FRAMEFORWARD",0x1b5)
DECL_INPUT(EV_KEY,"KEY_CONTEXT_MENU",0x1b6)
DECL_INPUT(EV_KEY,"KEY_MEDIA_REPEAT",0x1b7)
DECL_INPUT(EV_KEY,"KEY_10CHANNELSUP",0x1b8)
DECL_INPUT(EV_KEY,"KEY_10CHANNELSDOWN",0x1b9)
DECL_INPUT(EV_KEY,"KEY_IMAGES",0x1ba)
DECL_INPUT(EV_KEY,"KEY_NOTIFICATION_CENTER",0x1bc)
DECL_INPUT(EV_KEY,"KEY_PICKUP_PHONE",0x1bd)
DECL_INPUT(EV_KEY,"KEY_HANGUP_PHONE",0x1be)
DECL_INPUT(EV_KEY,"KEY_DEL_EOL",0x1c0)
DECL_INPUT(EV_KEY,"KEY_DEL_EOS",0x1c1)
DECL_INPUT(EV_KEY,"KEY_INS_LINE",0x1c2)
DECL_INPUT(EV_KEY,"KEY_DEL_LINE",0x1c3)
DECL_INPUT(EV_KEY,"KEY_FN",0x1d0)
DECL_INPUT(EV_KEY,"KEY_FN_ESC",0x1d1)
DECL_INPUT(EV_KEY,"KEY_FN_F1",0x1d2)
DECL_INPUT(EV_KEY,"KEY_FN_F2",0x1d3)
DECL_INPUT(EV_KEY,"KEY_FN_F3",0x1d4)
DECL_INPUT(EV_KEY,"KEY_FN_F4",0x1d5)
DECL_INPUT(EV_KEY,"KEY_FN_F5",0x1d6)
DECL_INPUT(EV_KEY,"KEY_FN_F6",0x1d7)
DECL_INPUT(EV_KEY,"KEY_FN_F7",0x1d8)
DECL_INPUT(EV_KEY,"KEY_FN_F8",0x1d9)
DECL_INPUT(EV_KEY,"KEY_FN_F9",0x1da)
DECL_INPUT(EV_KEY,"KEY_FN_F10",0x1db)
DECL_INPUT(EV_KEY,"KEY_FN_F11",0x1dc)
DECL_INPUT(EV_KEY,"KEY_FN_F12",0x1dd)
DECL_INPUT(EV_KEY,"KEY_FN_1",0x1de)
DECL_INPUT(EV_KEY,"KEY_FN_2",0x1df)
DECL_INPUT(EV_KEY,"KEY_FN_D",0x1e0)
DECL_INPUT(EV_KEY,"KEY_FN_E",0x1e1)
DECL_INPUT(EV_KEY,"KEY_FN_F",0x1e2)
DECL_INPUT(EV_KEY,"KEY_FN_S",0x1e3)
DECL_INPUT(EV_KEY,"KEY_FN_B",0x1e4)
DECL_INPUT(EV_KEY,"KEY_FN_RIGHT_SHIFT",0x1e5)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT1",0x1f1)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT2",0x1f2)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT3",0x1f3)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT4",0x1f4)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT5",0x1f5)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT6",0x1f6)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT7",0x1f7)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT8",0x1f8)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT9",0x1f9)
DECL_INPUT(EV_KEY,"KEY_BRL_DOT10",0x1fa)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_0",0x200)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_1",0x201)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_2",0x202)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_3",0x203)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_4",0x204)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_5",0x205)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_6",0x206)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_7",0x207)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_8",0x208)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_9",0x209)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_STAR",0x20a)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_POUND",0x20b)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_A",0x20c)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_B",0x20d)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_C",0x20e)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_D",0x20f)
DECL_INPUT(EV_KEY,"KEY_CAMERA_FOCUS",0x210)
DECL_INPUT(EV_KEY,"KEY_WPS_BUTTON",0x211)
DECL_INPUT(EV_KEY,"KEY_TOUCHPAD_TOGGLE",0x212)
DECL_INPUT(EV_KEY,"KEY_TOUCHPAD_ON",0x213)
DECL_INPUT(EV_KEY,"KEY_TOUCHPAD_OFF",0x214)
DECL_INPUT(EV_KEY,"KEY_CAMERA_ZOOMIN",0x215)
DECL_INPUT(EV_KEY,"KEY_CAMERA_ZOOMOUT",0x216)
DECL_INPUT(EV_KEY,"KEY_CAMERA_UP",0x217)
DECL_INPUT(EV_KEY,"KEY_CAMERA_DOWN",0x218)
DECL_INPUT(EV_KEY,"KEY_CAMERA_LEFT",0x219)
DECL_INPUT(EV_KEY,"KEY_CAMERA_RIGHT",0x21a)
DECL_INPUT(EV_KEY,"KEY_ATTENDANT_ON",0x21b)
DECL_INPUT(EV_KEY,"KEY_ATTENDANT_OFF",0x21c)
DECL_INPUT(EV_KEY,"KEY_ATTENDANT_TOGGLE",0x21d)
DECL_INPUT(EV_KEY,"KEY_LIGHTS_TOGGLE",0x21e)
DECL_INPUT(EV_KEY,"BTN_DPAD_UP",0x220)
DECL_INPUT(EV_KEY,"BTN_DPAD_DOWN",0x221)
DECL_INPUT(EV_KEY,"BTN_DPAD_LEFT",0x222)
DECL_INPUT(EV_KEY,"BTN_DPAD_RIGHT",0x223)
DECL_INPUT(EV_KEY,"KEY_ALS_TOGGLE",0x230)
DECL_INPUT(EV_KEY,"KEY_ROTATE_LOCK_TOGGLE",0x231)
DECL_INPUT(EV_KEY,"KEY_BUTTONCONFIG",0x240)
DECL_INPUT(EV_KEY,"KEY_TASKMANAGER",0x241)
DECL_INPUT(EV_KEY,"KEY_JOURNAL",0x242)
DECL_INPUT(EV_KEY,"KEY_CONTROLPANEL",0x243)
DECL_INPUT(EV_KEY,"KEY_APPSELECT",0x244)
DECL_INPUT(EV_KEY,"KEY_SCREENSAVER",0x245)
DECL_INPUT(EV_KEY,"KEY_VOICECOMMAND",0x246)
DECL_INPUT(EV_KEY,"KEY_ASSISTANT",0x247)
DECL_INPUT(EV_KEY,"KEY_KBD_LAYOUT_NEXT",0x248)
DECL_INPUT(EV_KEY,"KEY_EMOJI_PICKER",0x249)
DECL_INPUT(EV_KEY,"KEY_DICTATE",0x24a)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESS_MIN",0x250)
DECL_INPUT(EV_KEY,"KEY_BRIGHTNESS_MAX",0x251)
DECL_INPUT(EV_KEY,"KEY_KBDINPUTASSIST_PREV",0x260)
DECL_INPUT(EV_KEY,"KEY_KBDINPUTASSIST_NEXT",0x261)
DECL_INPUT(EV_KEY,"KEY_KBDINPUTASSIST_PREVGROUP",0x262)
DECL_INPUT(EV_KEY,"KEY_KBDINPUTASSIST_NEXTGROUP",0x263)
DECL_INPUT(EV_KEY,"KEY_KBDINPUTASSIST_ACCEPT",0x264)
DECL_INPUT(EV_KEY,"KEY_KBDINPUTASSIST_CANCEL",0x265)
DECL_INPUT(EV_KEY,"KEY_RIGHT_UP",0x266)
DECL_INPUT(EV_KEY,"KEY_RIGHT_DOWN",0x267)
DECL_INPUT(EV_KEY,"KEY_LEFT_UP",0x268)
DECL_INPUT(EV_KEY,"KEY_LEFT_DOWN",0x269)
DECL_INPUT(EV_KEY,"KEY_ROOT_MENU",0x26a)
DECL_INPUT(EV_KEY,"KEY_MEDIA_TOP_MENU",0x26b)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_11",0x26c)
DECL_INPUT(EV_KEY,"KEY_NUMERIC_12",0x26d)
DECL_INPUT(EV_KEY,"KEY_AUDIO_DESC",0x26e)
DECL_INPUT(EV_KEY,"KEY_3D_MODE",0x26f)
DECL_INPUT(EV_KEY,"KEY_NEXT_FAVORITE",0x270)
DECL_INPUT(EV_KEY,"KEY_STOP_RECORD",0x271)
DECL_INPUT(EV_KEY,"KEY_PAUSE_RECORD",0x272)
DECL_INPUT(EV_KEY,"KEY_VOD",0x273)
DECL_INPUT(EV_KEY,"KEY_UNMUTE",0x274)
DECL_INPUT(EV_KEY,"KEY_FASTREVERSE",0x275)
DECL_INPUT(EV_KEY,"KEY_SLOWREVERSE",0x276)
DECL_INPUT(EV_KEY,"KEY_DATA",0x277)
DECL_INPUT(EV_KEY,"KEY_ONSCREEN_KEYBOARD",0x278)
DECL_INPUT(EV_KEY,"KEY_PRIVACY_SCREEN_TOGGLE",0x279)
DECL_INPUT(EV_KEY,"KEY_SELECTIVE_SCREENSHOT",0x27a)
DECL_INPUT(EV_KEY,"KEY_MACRO1",0x290)
DECL_INPUT(EV_KEY,"KEY_MACRO2",0x291)
DECL_INPUT(EV_KEY,"KEY_MACRO3",0x292)
DECL_INPUT(EV_KEY,"KEY_MACRO4",0x293)
DECL_INPUT(EV_KEY,"KEY_MACRO5",0x294)
DECL_INPUT(EV_KEY,"KEY_MACRO6",0x295)
DECL_INPUT(EV_KEY,"KEY_MACRO7",0x296)
DECL_INPUT(EV_KEY,"KEY_MACRO8",0x297)
DECL_INPUT(EV_KEY,"KEY_MACRO9",0x298)
DECL_INPUT(EV_KEY,"KEY_MACRO10",0x299)
DECL_INPUT(EV_KEY,"KEY_MACRO11",0x29a)
DECL_INPUT(EV_KEY,"KEY_MACRO12",0x29b)
DECL_INPUT(EV_KEY,"KEY_MACRO13",0x29c)
DECL_INPUT(EV_KEY,"KEY_MACRO14",0x29d)
DECL_INPUT(EV_KEY,"KEY_MACRO15",0x29e)
DECL_INPUT(EV_KEY,"KEY_MACRO16",0x29f)
DECL_INPUT(EV_KEY,"KEY_MACRO17",0x2a0)
DECL_INPUT(EV_KEY,"KEY_MACRO18",0x2a1)
DECL_INPUT(EV_KEY,"KEY_MACRO19",0x2a2)
DECL_INPUT(EV_KEY,"KEY_MACRO20",0x2a3)
DECL_INPUT(EV_KEY,"KEY_MACRO21",0x2a4)
DECL_INPUT(EV_KEY,"KEY_MACRO22",0x2a5)
DECL_INPUT(EV_KEY,"KEY_MACRO23",0x2a6)
DECL_INPUT(EV_KEY,"KEY_MACRO24",0x2a7)
DECL_INPUT(EV_KEY,"KEY_MACRO25",0x2a8)
DECL_INPUT(EV_KEY,"KEY_MACRO26",0x2a9)
DECL_INPUT(EV_KEY,"KEY_MACRO27",0x2aa)
DECL_INPUT(EV_KEY,"KEY_MACRO28",0x2ab)
DECL_INPUT(EV_KEY,"KEY_MACRO29",0x2ac)
DECL_INPUT(EV_KEY,"KEY_MACRO30",0x2ad)
DECL_INPUT(EV_KEY,"KEY_MACRO_RECORD_START",0x2b0)
DECL_INPUT(EV_KEY,"KEY_MACRO_RECORD_STOP",0x2b1)
DECL_INPUT(EV_KEY,"KEY_MACRO_PRESET_CYCLE",0x2b2)
DECL_INPUT(EV_KEY,"KEY_MACRO_PRESET1",0x2b3)
DECL_INPUT(EV_KEY,"KEY_MACRO_PRESET2",0x2b4)
DECL_INPUT(EV_KEY,"KEY_MACRO_PRESET3",0x2b5)
DECL_INPUT(EV_KEY,"KEY_KBD_LCD_MENU1",0x2b8)
DECL_INPUT(EV_KEY,"KEY_KBD_LCD_MENU2",0x2b9)
DECL_INPUT(EV_KEY,"KEY_KBD_LCD_MENU3",0x2ba)
DECL_INPUT(EV_KEY,"KEY_KBD_LCD_MENU4",0x2bb)
DECL_INPUT(EV_KEY,"KEY_KBD_LCD_MENU5",0x2bc)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY",0x2c0)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY1",0x2c0)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY2",0x2c1)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY3",0x2c2)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY4",0x2c3)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY5",0x2c4)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY6",0x2c5)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY7",0x2c6)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY8",0x2c7)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY9",0x2c8)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY10",0x2c9)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY11",0x2ca)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY12",0x2cb)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY13",0x2cc)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY14",0x2cd)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY15",0x2ce)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY16",0x2cf)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY17",0x2d0)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY18",0x2d1)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY19",0x2d2)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY20",0x2d3)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY21",0x2d4)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY22",0x2d5)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY23",0x2d6)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY24",0x2d7)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY25",0x2d8)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY26",0x2d9)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY27",0x2da)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY28",0x2db)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY29",0x2dc)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY30",0x2dd)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY31",0x2de)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY32",0x2df)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY33",0x2e0)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY34",0x2e1)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY35",0x2e2)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY36",0x2e3)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY37",0x2e4)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY38",0x2e5)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY39",0x2e6)
DECL_INPUT(EV_KEY,"BTN_TRIGGER_HAPPY40",0x2e7)

DECL_INPUT(EV_REL,"REL_X",0x00)
DECL_INPUT(EV_REL,"REL_Y",0x01)
DECL_INPUT(EV_REL,"REL_Z",0x02)
DECL_INPUT(EV_REL,"REL_RX",0x03)
DECL_INPUT(EV_REL,"REL_RY",0x04)
DECL_INPUT(EV_REL,"REL_RZ",0x05)
DECL_INPUT(EV_REL,"REL_HWHEEL",0x06)
DECL_INPUT(EV_REL,"REL_DIAL",0x07)
DECL_INPUT(EV_REL,"REL_WHEEL",0x08)
DECL_INPUT(EV_REL,"REL_MISC",0x09)
DECL_INPUT(EV_REL,"REL_RESERVED",0x0a)
DECL_INPUT(EV_REL,"REL_WHEEL_HI_RES",0x0b)
DECL_INPUT(EV_REL,"REL_HWHEEL_HI_RES",0x0c)

DECL_INPUT(EV_ABS,"ABS_X",0x00)
DECL_INPUT(EV_ABS,"ABS_Y",0x01)
DECL_INPUT(EV_ABS,"ABS_Z",0x02)
DECL_INPUT(EV_ABS,"ABS_RX",0x03)
DECL_INPUT(EV_ABS,"ABS_RY",0x04)
DECL_INPUT(EV_ABS,"ABS_RZ",0x05)
DECL_INPUT(EV_ABS,"ABS_THROTTLE",0x06)
DECL_INPUT(EV_ABS,"ABS_RUDDER",0x07)
DECL_INPUT(EV_ABS,"ABS_WHEEL",0x08)
DECL_INPUT(EV_ABS,"ABS_GAS",0x09)
DECL_INPUT(EV_ABS,"ABS_BRAKE",0x0a)
DECL_INPUT(EV_ABS,"ABS_HAT0X",0x10)
DECL_INPUT(EV_ABS,"ABS_HAT0Y",0x11)
DECL_INPUT(EV_ABS,"ABS_HAT1X",0x12)
DECL_INPUT(EV_ABS,"ABS_HAT1Y",0x13)
DECL_INPUT(EV_ABS,"ABS_HAT2X",0x14)
DECL_INPUT(EV_ABS,"ABS_HAT2Y",0x15)
DECL_INPUT(EV_ABS,"ABS_HAT3X",0x16)
DECL_INPUT(EV_ABS,"ABS_HAT3Y",0x17)
DECL_INPUT(EV_ABS,"ABS_PRESSURE",0x18)
DECL_INPUT(EV_ABS,"ABS_DISTANCE",0x19)
DECL_INPUT(EV_ABS,"ABS_TILT_X",0x1a)
DECL_INPUT(EV_ABS,"ABS_TILT_Y",0x1b)
DECL_INPUT(EV_ABS,"ABS_TOOL_WIDTH",0x1c)
DECL_INPUT(EV_ABS,"ABS_VOLUME",0x20)
DECL_INPUT(EV_ABS,"ABS_MISC",0x28)
DECL_INPUT(EV_ABS,"ABS_RESERVED",0x2e)
DECL_INPUT(EV_ABS,"ABS_MT_SLOT",0x2f)
DECL_INPUT(EV_ABS,"ABS_MT_TOUCH_MAJOR",0x30)
DECL_INPUT(EV_ABS,"ABS_MT_TOUCH_MINOR",0x31)
DECL_INPUT(EV_ABS,"ABS_MT_WIDTH_MAJOR",0x32)
DECL_INPUT(EV_ABS,"ABS_MT_WIDTH_MINOR",0x33)
DECL_INPUT(EV_ABS,"ABS_MT_ORIENTATION",0x34)
DECL_INPUT(EV_ABS,"ABS_MT_POSITION_X",0x35)
DECL_INPUT(EV_ABS,"ABS_MT_POSITION_Y",0x36)
DECL_INPUT(EV_ABS,"ABS_MT_TOOL_TYPE",0x37)
DECL_INPUT(EV_ABS,"ABS_MT_BLOB_ID",0x38)
DECL_INPUT(EV_ABS,"ABS_MT_TRACKING_ID",0x39)
DECL_INPUT(EV_ABS,"ABS_MT_PRESSURE",0x3a)
DECL_INPUT(EV_ABS,"ABS_MT_DISTANCE",0x3b)
DECL_INPUT(EV_ABS,"ABS_MT_TOOL_X",0x3c)
DECL_INPUT(EV_ABS,"ABS_MT_TOOL_Y",0x3d)

DECL_INPUT(EV_SW,"SW_LID",0x00)
DECL_INPUT(EV_SW,"SW_TABLET_MODE",0x01)
DECL_INPUT(EV_SW,"SW_HEADPHONE_INSERT",0x02)
DECL_INPUT(EV_SW,"SW_RFKILL_ALL",0x03)
DECL_INPUT(EV_SW,"SW_MICROPHONE_INSERT",0x04)
DECL_INPUT(EV_SW,"SW_DOCK",0x05)
DECL_INPUT(EV_SW,"SW_LINEOUT_INSERT",0x06)
DECL_INPUT(EV_SW,"SW_JACK_PHYSICAL_INSERT",0x07)
DECL_INPUT(EV_SW,"SW_VIDEOOUT_INSERT",0x08)
DECL_INPUT(EV_SW,"SW_CAMERA_LENS_COVER",0x09)
DECL_INPUT(EV_SW,"SW_KEYPAD_SLIDE",0x0a)
DECL_INPUT(EV_SW,"SW_FRONT_PROXIMITY",0x0b)
DECL_INPUT(EV_SW,"SW_ROTATE_LOCK",0x0c)
DECL_INPUT(EV_SW,"SW_LINEIN_INSERT",0x0d)
DECL_INPUT(EV_SW,"SW_MUTE_DEVICE",0x0e)
DECL_INPUT(EV_SW,"SW_PEN_INSERTED",0x0f)
DECL_INPUT(EV_SW,"SW_MACHINE_COVER",0x10)

DECL_INPUT(EV_MSC,"MSC_SERIAL",0x00)
DECL_INPUT(EV_MSC,"MSC_PULSELED",0x01)
DECL_INPUT(EV_MSC,"MSC_GESTURE",0x02)
DECL_INPUT(EV_MSC,"MSC_RAW",0x03)
DECL_INPUT(EV_MSC,"MSC_SCAN",0x04)
DECL_INPUT(EV_MSC,"MSC_TIMESTAMP",0x05)

DECL_INPUT(EV_LED,"LED_NUML",0x00)
DECL_INPUT(EV_LED,"LED_CAPSL",0x01)
DECL_INPUT(EV_LED,"LED_SCROLLL",0x02)
DECL_INPUT(EV_LED,"LED_COMPOSE",0x03)
DECL_INPUT(EV_LED,"LED_KANA",0x04)
DECL_INPUT(EV_LED,"LED_SLEEP",0x05)
DECL_INPUT(EV_LED,"LED_SUSPEND",0x06)
DECL_INPUT(EV_LED,"LED_MUTE",0x07)
DECL_INPUT(EV_LED,"LED_MISC",0x08)
DECL_INPUT(EV_LED,"LED_MAIL",0x09)
DECL_INPUT(EV_LED,"LED_CHARGING",0x0a)

DECL_INPUT(EV_REP,"REP_DELAY",0x00)
DECL_INPUT(EV_REP,"REP_PERIOD",0x01)

DECL_INPUT(EV_SND,"SND_CLICK",0x00)
DECL_INPUT(EV_SND,"SND_BELL",0x01)
DECL_INPUT(EV_SND,"SND_TONE",0x02)
